﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System.IO;

namespace The_LarX
{
    public class Picking
    {
        public List<Actor> ManipulatorActors = new List<Actor>();
        public List<Actor> ExcludedActors = new List<Actor>();

        public Actor LastPickedActor;
        public Camera3D Camera;

        public Picking()
        {
        }

        public virtual void Draw()
        {
        }

        public virtual Actor Pick(int x, int y, bool Manipulator)
        {
            throw new NotImplementedException();
        }
        /// <summary>
        /// Pick an Actor by the Mouse Current Position
        /// </summary>
        /// <param name="Manipulator"></param>
        /// <returns></returns>
        public virtual Actor Pick(bool Manipulator)
        {
            MouseState state = Mouse.GetState();

            return Pick(state.X, state.Y, Manipulator);
        }
      
    }
     
}
